package com.android.juliomedina.parser;

/**
 * 
 * @author globussoft
 */
public class FeedObject {
	String date;
	String desc;
	String content;
	String image;
	String youtube;
	String link;
	String title;

	public String getDate() {
		return date;
	}

	public String getDesc() {
		return desc;
	}

	public String getContent() {
		return content;
	}

	public String getImage() {
		return image;
	}

	public String getYoutube() {
		return youtube;
	}

	public String getLink() {
		return link;
	}

	public String getTitle() {
		return title;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public void setContent(String content) {
		String[] conUrl = content.split("@@@");

		this.content = conUrl[0];
		if (!conUrl[1].equals("NA")) {
			this.youtube = conUrl[1];
		}
		if (!conUrl[2].equals("NA")) {
			this.image = conUrl[2];
		}
	}

	public void setImage(String image) {
		this.image = image;
	}

	public void setYoutube(String youtube) {
		this.youtube = youtube;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public void setTitle(String title) {
		this.title = title;
	}

}
